export default function(defaultDataValue = null) { //混合
    return {
        data() {
            return {
                isloading: true,
                data: defaultDataValue,
            }
        },
        async created() {
            this.data = await this.fetchData();
            this.isloading = false;
            // console.log(this.data)
        }
    }
}